package cn.skynethome.redisx.Test;

import cn.skynethome.redisx.RedisSharedMasterSlaveSentinelUtil;

public class TestRedisSharedMasterSlaveSentinelUtil
{
    public static void main(String[] args) throws InterruptedException
    {
        String key = "aaaa";
       
        
        for(int i=0;i<20;i++)
        {
            Thread.sleep(3000);
            RedisSharedMasterSlaveSentinelUtil.setString(key, "TestRedisMasterSlaveSentinelUtil001"+Math.random()*1000);
            Thread.sleep(3000);
            RedisSharedMasterSlaveSentinelUtil.del(key);
        }
        
    }
}
